//
// Created by root on 01/04/17.
//

#ifndef IMG_SVR_SYS_CONFIG_H
#define IMG_SVR_SYS_CONFIG_H

#include "string"
using std::string;
#define HttpLog Poco::Logger::get("http")
#define MetaLog Poco::Logger::get("meta")
#define DownloadLog Poco::Logger::get("download")
#define ServiceLog Poco::Logger::get("service")
#define CleanTempLog Poco::Logger::get("temp")
#define ErrReqLog Poco::Logger::get("err")

struct SysConfig{
    string local_ip;
    unsigned int http_port;
    int http_thread_count;
    string img_root_path;
    unsigned int nginx_port;
    int store_days;
    string meta_svr_ip;
    unsigned int meta_svr_port;
    string foshan_ip;
    string jinzhong_ip;
    string xianning_ip;
    string yancheng_ip;
};

#endif //IMG_SVR_SYS_CONFIG_H
